package com.example.lottery_system.common.errcode;

public interface ControllerErrorCodeConstant {
    /**
     * 人员异常
     */

    ErrorCode REGISTER_ERROR = new ErrorCode(100,"空制层注册异常!");

    ErrorCode LOGIN_ERROR = new ErrorCode(101,"控制层登录异常！");

    ErrorCode LOGIN_CODE_ERROR = new ErrorCode(102,"验证码发送失败!");

    /**
     * 奖品模块异常
     */

    ErrorCode ACTIVITY_IS_EMPTY = new ErrorCode(103,"该奖品不存在!");

    /**
     * 抽奖模块异常
     */
    ErrorCode WINNING_RESULT_IS_EMPTY = new ErrorCode(200,"奖品记录不存在!");

    /**
     * 活动模块异常
     */

    ErrorCode ACTIVITY_CREATE_ERROR = new ErrorCode(400,"活动创建异常!");

    ErrorCode ACTIVITY_FIND_LIST_ERROR = new ErrorCode(401,"活动列表展示异常!");

}
